package club.janna.hello.session;

import io.netty.channel.Channel;

/**
 * Created by guopanbo on 18/2/7.
 */
public class Session {
    private String id;
    private Channel channel;

    public Session() {}

    public Session(String id, Channel channel) {
        this.id = id;
        this.channel = channel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }
}
